import HButton from './src/h-button.vue'
import HInput from './src/h-input.vue'

const components = [
    HButton,
    HInput
]

const SmileUI = {
    //Vue自动调用此方法，名称固定
    install(Vue) {
        // console.log("执行测试");
        //注册组件
        components.forEach(component => {
            Vue.component(component.name, component);
        });
    }
}

export default SmileUI